var express = require('express');
var router = express.Router();
var catetype=require("../controllers/control_cateType");

/* GET users listing. */
router.post("/create",catetype.catetype_create); //创建根分类 post
router.put("/update/:id",catetype.catetype_update); //修改根分类 update
router.delete("/delete/:id",catetype.catetype_delete); //删除根分类 delete
router.get("/:id",catetype.catetype_get);    //查询单个根分类 get
router.post("/list",catetype.catetype_list); //查询所有 post

module.exports = router;
